from rest_framework.serializers import ModelSerializer

from home import models
class BannerModelSerializer(ModelSerializer):
    class Meta:
        model = models.Banner
        fields = ('title','link','image')

